How Chatbots And Large Language Models Work